<template>
  <div class="header">
    <div class="header-left">
      <img src="../assets/images/logo.png" />
    </div>
    <div class="header-right">
      <span>张总(超级管理员)</span>
      |
      <img src="../assets/images/gita.gif" />
      <span>退出登录</span>
      <img src="../assets/images/cn.png" />
    </div>
  </div>
</template>

<script>
export default {
  name: "MyHeader",
};
</script>

<style scoped lang="scss">
.header {
  height: 50px;
  background: lightskyblue;
  line-height: 50px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .header-left {
    height: 35px;
    img {
      width: 104px;
      margin-left: 20px;
    }
  }
  .header-right {
    display: flex;
    align-items: center;
    span {
      margin-left: 5px;
      margin-right: 5px;
    }
    img:nth-of-type(1) {
      height: 35px;
      margin-left: 5px;
    }
    img:nth-of-type(2) {
      height: 50px;
    }
  }
}
</style>